<%@page contentType="text/html; charset=utf-8" language="java" errorPage="error.jsp"%>
<%@page import="com.greendragon.persistence.domain.User"%>
<%
String subtitle = "控制板";
String scripts = "/static/js/admin.js?v=0.0.1";
String styles = "/static/css/admin.css?v=0.0.1";
%>
<%@ include file="/include/header.jspf"%>
<script>
$(document).ready(function() {
	new GD.admin.init("index");
});
</script>
<body>
  <div id="wrap">
<div id="content">
   <%@include file="include/body-header.jspf"%>
   <div id="bodier">
		<jsp:include page="include/adminmenu.jspf"/>
		<div id="body-content">
			<div id="content-wrap">
				<div class="icon32 option-icon"></div>
				<h2 class="title">常规选项</h2>
				<form id="option" action="admin/site-option.do" method="get">
					<table class="form-table">
						<tbody>
						<tr>
							<th><label for="sitetitle">站点标题</label></th>
							<td>
								<input class="regular-text radius5" name="siteinfo.title" type="text"  value="${siteinfo.title}"/>
							</td>
						</tr>
						<tr>
							<th><label for="subtitle">副标题</label></th>
							<td>
								<input class="regular-text radius5" name="siteinfo.subTitle" type="text" value="${siteinfo.subTitle}" />
								<span> 用简洁的文字描述本站点。</span>
							</td>
						</tr>
						<tr>
							<th><label for="domain">站点网址（URL）</label></th>
							<td>
								<input class="regular-text radius5" name="siteinfo.domain" type="text" value="${siteinfo.domain}"/>
							</td>
						</tr>
						<tr>
							<th><label for="beian">备案信息（如：京ICP证030173号）</label></th>
							<td>
								<input class="regular-text radius5" name="siteinfo.beian" type="text" value="${siteinfo.beian}"/>
							</td>
						</tr>
						<tr>
							<th ><label for="description">网站描述</label></th>
							<td>
								<textarea class="description radius5" name="siteinfo.description">${siteinfo.description}</textarea>
								<div class="tip">描述本站点，该信息将显示在页面上，可被搜索引擎收录。</div>
								<div class="cleft"></div>
							</td>
						</tr>
						<tr>
							<th><label for="keyWords">网站关键字</label></th>
							<td>
								<input class="regular-text radius5" name="siteinfo.keyWords" type="text" value="${siteinfo.keyWords}" />
								<span>请用逗号分隔关键字。</span>
							</td>
						</tr>
						<tr>
							<th><label for="customCode">自定义代码<br/>(可以添加google分析等代码。)</label></th>
							<td>
								<textarea class="code radius5" name="siteinfo.customCode">${siteinfo.customCode}</textarea>
								<div class="tip"></div>
							</td>
						</tr>
						</tbody>
					</table>
					<button class="button-blue submit"/>保存更改</button>
				</form>
			</div>
		</div>
		<div class="clear"></div>
	</div>
 </div>
 </div>
<%@include file="include/footer.jspf"%>